#include "widget.h"
#include "AVDelluxer.h"

#include <QApplication>
#include <QDebug>

void CallBack(bool re)
{
    qDebug() << "获取流结果: " << re;
}
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
//    Widget w;
//    w.show();
    AVDelluxer muxer;
    muxer.SetStreamCallback(CallBack);
    QString path = "D://qt//ji.mp4";
    muxer.Open(path);
    return a.exec();
}
